from taskinfo.Uie import Uie
from utils.config import settings

inference_models = {}
for config in settings.uie_config:
    inference_models[config.clas_id] = Uie(schema_list=config.schema_list,
                                           onnx_home=config.onnx_path,
                                           text_system_path=config.text_system_path,
                                           )
